<? session_start(); ?>
<?
if($_GET['page']!= 'login.php')
{
    
    require('content/checklogin.php');
}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>BÁN VÉ CHUYẾN BAY</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="author" content="Tom@Lwis (http://www.lwis.net/free-css-drop-down-menu/)" />
<meta name="keywords" content=" css, dropdowns, dropdown menu, drop-down, menu, navigation, nav, horizontal, vertical left-to-right, vertical right-to-left, horizontal linear, horizontal upwards, cross browser, internet explorer, ie, firefox, safari, opera, browser, lwis" />
<meta name="description" content="Clean, standards-friendly, modular framework for dropdown menus" />
<link rel="shortcut icon" type="image/x-icon" href="css/dropdown/themes/mtv.com/images/favicon.ico" />
<link href="css/dropdown/themes/mtv.com/helper.css" media="screen" rel="stylesheet" type="text/css" />

<?
$page = 'content/';
if($_GET['page'])
{
    $page .= $_GET['page'];
}
else
{
    $page .='home.php';
}

?>

<!-- Beginning of compulsory code below -->

<link href="css/dropdown/dropdown.css" media="screen" rel="stylesheet" type="text/css" />
<link href="css/dropdown/themes/mtv.com/default.ultimate.css" media="screen" rel="stylesheet" type="text/css" />

<!--[if lt IE 7]>
<script type="text/javascript" src="js/jquery/jquery.js"></script>
<script type="text/javascript" src="js/jquery/jquery.dropdown.js"></script>
<![endif]-->

<!-- / END -->
 <script type="text/javascript" src="MacStyleDock.compressed.js"></script>

  <style type="text/css">



    #dockContainer{

      display    : table;

      margin     : 0 auto;

      text-align : center;    /* fixes IE bug */

    }



    #dockContainer > div{

      display : inline-block; /* fixes IE bug */

    }



    #dockContainer > div{

      display : inline;       /* fixes IE bug */

    }



    #dockContainer > div{

      display       : table-cell;

      text-align    : left;

      background    : url('dock-centre-80.png') repeat-x 0 129px;

      border-bottom : 2px solid rgb(220,220,200);

    }



    #dockContainer > div > div{

      background : url('dock-right-80.png') no-repeat right 129px;

    }



    #dockContainer > div > div > div{

      background : url('dock-left-80.png') no-repeat left 129px;

      height     : 176px;

      overflow   : hidden;

      padding    : 0 20px;

    }



  </style>


</head>
<body style="background: #4c4c4c url(images/grad1.png) 0 0 repeat-x;">

<center>
<table width="950" border="0"  style="background: #4c4c4c url(images/tbbg.png) 0 0 repeat-x">
  <tr>
  <td align="center" bgcolor="#333333">
  
  <!-- MENU -->
    <center>
        <ul align="center" id="nav" class="dropdown dropdown-horizontal">
        	
        	<li id="n-home"><a href="./">Trang Chủ</a></li>
        	<li id="n-shows"><a href="index.php?page=NhanLichChuyenBay.php" class="dir">Nhận Dữ Liệu</a>
            <ul>
        			<li class="first"><a href="index.php?page=NhanLichChuyenBay.php" class="">Nhận Lịch Bay</a></li>	
        			<li class="first"><a href="index.php?page=ThemSanBay.php" class="">Thêm Sân Bay</a></li>
        		</ul>
        	</li>
        	<li id="n-music"><a href="index.php?page=VeChuyenBay.php" class="dir">Vé</a>
        		<ul>
        			<li class="first"><a href="index.php?page=VeChuyenBay.php" class="">Đặt Vé</a></li>	
        			<li class="first"><a href="index.php?page=XacNhanVe.php" class="">Xác Nhận Vé</a></li>
        		</ul>
        	</li>
        	<li id="n-news"><a href="index.php?page=DanhSachChuyenBay.php" class="dir">Tra Cứu</a></li>
        	<li id="n-music"><a href="index.php?page=BaoCaoThang.php" class="dir">Báo Cáo</a>
            	<ul>
        			<li class="first"><a href="index.php?page=BaoCaoThang.php" class="">BC Tháng</a></li>	
        			<li class="first"><a href="index.php?page=BaoCaoNam.php" class="">BC Năm</a></li>
        		</ul>
            </li>
        	<li id="n-news"><a href="index.php?page=thaydoiquydinh.php" class="dir">Quy Định</a></li>
        	<li id="n-music"><a href="index.php?page=logout.php" class="dir">Đăng Xuất</a></li>
        </ul>
  
    </center>
  </td>
  </tr>
  <tr>
    <td><?require('header.php')?></td>
  </tr>
  
  <?
  if($_GET['page']!= 'login.php')
    {
      echo '<tr>
        <td><p align="right"> Tài khoản : <b>'.$username.'</b>';
        
      if($username != 'admin')
        echo ' </p></td>
      </tr>';
      else
        echo '<br><a href = "admin"> <font color = "yellow">[Trang Quản Trị] </font> </a> </p></td>
      </tr>';
    }
  ?>
  <tr>
    <td>
    
    
    <?require($page)?>
    
    
    
    
    </td>
  </tr>
  <tr>
   <td  style="background: #4c4c4c url(images/footer.png) 0 0 repeat-x" ><?require('footer.php')?></td>
  </tr>
</table>

</center>

</body>
</html>